<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"	
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

	<p:tabView id="cycleDetails" style="height:95%">
		<p:tab  title="#{msgs.CicleData}">
			<ui:include src="/schedule/tools/cycleData.xhtml"/>				
		</p:tab>
		
		<p:tab title="Planejamento" >
			<ui:include src="/schedule/tools/planning.xhtml" />
		</p:tab>
		<p:tab  title="#{msgs.Prescriptions}">
			<h:form prependId="false">
			    <p:schedule id="schedule" value="#{scheduleBean.eventSchedule}" locale="pt"  widgetVar="weventSchedule" view="basicWeek"
			    	initialDate="#{scheduleBean.selMicroCycle.beginDate}"  aspectRatio="10" style="height:300px">
					<p:ajax event="eventSelect" listener="#{scheduleBean.onDayScheduleSelect}" update=":daySteps" oncomplete="wdaySteps.show()" />  
			    </p:schedule>  
			  		
			</h:form>
		</p:tab>
		<p:tab title="#{msgs.Exercises}">
		
		</p:tab>
		<p:tab title="Avaliações">
			<ui:include src="/schedule/tools/exam.xhtml" />
		</p:tab>
		<p:tab title="Metas">

		</p:tab>
		<p:tab title="Competições">

		</p:tab>
		<p:tab title="Histórico">
			<ui:include src="/schedule/tools/history.xhtml" />
		</p:tab>


	</p:tabView>
</html>